package com.zmn.oms.model.entity.report;

import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 优惠劵相关事实查询对象
 *
 * @author hankangshuai
 * @since 2019/11/5
 **/
@Data
@Builder
public class CoupBatchQuery {
    /**
     * 批次ID
     */
    @NotNull(message = "批次Id不能为空")
    Integer batchID;
    /**
     * 用户ID和工单ID
     */
    @NotEmpty(message = "批次用户和工单集合不能为空")
    List<CoupUserWork> userWorkMaps;

}
